package com.sale.salesystem.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

@Data
public class DashboardCreateDTO {
    @NotBlank(message = "仪表板名称不能为空")
    private String name;
    
    private String description;
    
    @NotBlank(message = "仪表板类型不能为空")
    private String type;
    
    private String icon;
    
    @NotNull(message = "创建者ID不能为空")
    private Long ownerId;
    
    private List<Long> visitorIds; // 可访问的用户ID列表
    
    private List<DashboardChartDTO> charts; // 图表配置列表
} 